package com.hmy.uaa.bo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "角色菜单关联入参", description = "角色菜单关联入参")
public class RoleMenuRequest {

    @ApiModelProperty(value = "角色id")
    @NotNull
    private Long roleId;

    @NotEmpty
    @ApiModelProperty(value = "菜单id集合", notes = "菜单id的数组")
    private Long[] menuIds;


    public interface Insert {

    }


}
